﻿@model SportMeetingPlanner.Models.Sport
@{
    ViewBag.Title = "Delete";
}
<div class="section">
    <table cellspacing="0" class="listTable">
        <tr>
            <td class="headerColumn" colspan="2">
                Delete sport
            </td>
        </tr>
        <tr>
            <td class="leftColumn" colspan="2">
                <br />
            </td>
        </tr>
        <tr>
            <td class="leftColumn" colspan="2">
                Are you sure you want to delete @Model.Name?
            </td>
        </tr>
        <tr>
            <td class="leftColumn">
                Name
            </td>
            <td class="rightColumn">
                @Html.DisplayFor(model => model.Name)
            </td>
        </tr>
        <tr>
            <td class="leftColumn">
                MinPlayers
            </td>
            <td class="rightColumn">
                @Html.DisplayFor(model => model.MinPlayers)
            </td>
        </tr>
        <tr>
            <td>
                <br />
            </td>
            <td>
            </td>
        </tr>
        @using (Html.BeginForm("Delete", "SportManager"))
        {
            <tr class="link">
                <td class="leftColumn" colspan="2">
                    <input type="submit" value="Delete" />
                </td>
            </tr>
        }
        <tr class="back">
            <td class="leftColumn" colspan="2">
                @Html.ActionLink("Back", "Index")
            </td>
        </tr>
    </table>
</div>
